// samsting : this file is auto create.

#include "Ecs/2014-05-26/DescribeHaVipsRequest.h"

namespace aliyun { namespace Ecs {

DescribeHaVipsRequest::DescribeHaVipsRequest() : RpcAcsRequest("Ecs", "2014-05-26", "DescribeHaVips") {
}

int64 DescribeHaVipsRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void DescribeHaVipsRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& DescribeHaVipsRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void DescribeHaVipsRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 DescribeHaVipsRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void DescribeHaVipsRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& DescribeHaVipsRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void DescribeHaVipsRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}

int DescribeHaVipsRequest::GetPageNumber(void) const {
  return PageNumber_;
}
bool DescribeHaVipsRequest::SetPageNumber(int PageNumber) {
  if(PageNumber < 1) {
    return false;
  }
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
  return true;
}

int DescribeHaVipsRequest::GetPageSize(void) const {
  return PageSize_;
}
bool DescribeHaVipsRequest::SetPageSize(int PageSize) {
  if(PageSize < 1) {
    return false;
  }
  if(PageSize > 50) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}

const string& DescribeHaVipsRequest::GetFilter(void) const {
  return Filter_;
}
void DescribeHaVipsRequest::SetFilter(const string& Filter) {
  Filter_ = Filter;
  PutQueryParameter("Filter", Filter_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
